/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/9/16 16:39
 * @Copyright
 */
package QuickHit;

public abstract class Player {
    private int levelNo; //级别号
    private int CurScore; //得分
    private long startTime; //开始时间
    private int elapsedTime; //已用时间

    public Player() {
    }

    public Player(int levelNo, int curScore, long startTime, int elapsedTime) {
        this.levelNo = levelNo;
        CurScore = curScore;
        this.startTime = startTime;
        this.elapsedTime = elapsedTime;
    }

    public int getLeveiNo() {
        return levelNo;
    }

    public void setLeveiNo(int levelNo) {
        this.levelNo = levelNo;
    }

    public int getCurScore() {
        return CurScore;
    }

    public void setCurScore(int curScore) {
        CurScore = curScore;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public int getElapsedTime() {
        return elapsedTime;
    }

    public void setElapsedTime(int elapsedTime) {
        this.elapsedTime = elapsedTime;
    }
    public abstract void play(GameTest gameTest);
}

